scala get file from url as string

210

scala get file from url as string -

import scala.io.Source
val html = Source.fromURL("http://google.com")
val s = html.mkString
println(s)

Comments

Submit
0 Comments